import request from '@/router/axios';
const urlPrefix = '/admin';

export function list(data) {
    return request.post(urlPrefix + '/page_info/list', data);
}
export function update(data) {
    return request.post(urlPrefix + '/page_info/modify', data);
}
export function detail(pageCode) {
    return request.post(urlPrefix + '/page_info/detail', {
        pageCode
    });
}
